package Polymorphism;

public class PostGrad extends Student {
	
	private String degree;
	
	public PostGrad() {
		
	}
	
	public void setDegree(String degree) {
		this.degree = degree;
	}
	
	public void printStudent() {
		System.out.println(this.matricNum + ": " + this.name + " graduated: " + this.degree);
	}
}
